package models;

public class Flag {

	private String id;
	private String tag;
	private String text;
	private boolean defaultValue;
	private String requiredstr ="";
	
	public String getRequiredstr() {
		if(defaultValue)
			return "*";
		else	
		return requiredstr;
	}
	public void setRequiredstr(String requiredstr) {
		this.requiredstr = requiredstr;
	}	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(boolean defaultValue) {
		this.defaultValue = defaultValue;
	}
	
}
